
import * as types from "../action-types";

let initialState = {
  interfaceBase: "",
  web4: {}
};

const reducer = function (state = initialState, action) {
  switch (action.type) {
    case types.SET_CONFIG:
      return { ...state, ...action.payload };
    default:
      return state;
  }
};
export default reducer;
